<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var arr = ['a','b','c'];
    for (var i in arr){
        console.log(arr[i]);
    }
</script>
</body>
</html>